package com.dykj.fireFighting.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dykj.fireFighting.api.base.generator.entity.TableEntity;
import com.dykj.fireFighting.web.model.Device;
import com.dykj.fireFighting.web.model.Manufactor;

import java.util.List;
import java.util.Map;

/**
 * 厂家
 * @Auther: zcf
 * @Date: 2019-08-22
 */
public interface ManufactorMapper extends BaseMapper<TableEntity> {

    Manufactor selectByPrimaryKey(String code);

    List<Manufactor> queryList(Map<String, Object> map);

    Manufactor selectCreateBy(String code);

    List<Manufactor> selectByIdentification(Map<String, Object> map);

    int updateStatusByIdentification(Manufactor record);

    Device selectDeviceById(String deviceId);
    int updateDevice(Device device);
}